package io.renren.common.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {
    private int statusCode;
    private String message;
    private boolean flag;
    private Object data;

    public Result(int statusCode, String message, boolean flag) {
        this.statusCode = statusCode;
        this.message = message;
        this.flag = flag;
    }
}
